package com.example.insurance_service.service;

import com.example.insurance_service.domain.Insurance;
import org.springframework.data.domain.Page;

public interface InsuranceService {

    Page<Insurance> findAll(Integer pageNum, Integer pageSize, Insurance insurance);

    boolean save(Insurance insurance);

    void delete(Insurance insurance);
}
